
include $(ACM_ROOT)/src/common_lib_macro.mk

LOCAL_CPPFLAGS = \
  $(COMMON_LIB_CPPFLAGS) \
  -I $(ACM_ROOT)/src/kernel/include \
  -I $(ACM_ROOT)/src/net/include \
  -I $(ACM_ROOT)/src/time/include

LINK_FLAGS = -L$(LIBDIR) -lcl_net -lcl_kernel -lboost_unit_test_framework -lpthread

BINS = net_ut 
all: $(BINS) 
.PHONY: all

CPP_SRC = \
	net_ut.cxx

CPP_OBJS = $(CPP_SRC:.cxx=.o)

net_ut: net_ut.o 
	$(CCC) -o $@ $^ $(LINK_FLAGS) 

.PHONY: clean
clean:
	$(RM) $(CPP_OBJS) $(BINS)

ifneq ($(MAKECMDGOALS),clean)
-include $(CPP_SRC:.cxx=.d)
endif
